package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.sql.Timestamp;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 合同管理
 * 数据库通用操作实体类（普通增删改查）
 */
@TableName("hetongguanli")
public class HetongguanliEntity<T> implements Serializable {
    private static final long serialVersionUID = 1L;


    public HetongguanliEntity() {

    }

    public HetongguanliEntity(T t) {
        try {
            BeanUtils.copyProperties(this, t);
        } catch (IllegalAccessException | InvocationTargetException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }
 /** 主键 */
    private Long id;

 /** 创建时间 */
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
@DateTimeFormat
    private Timestamp addtime;

 /** 合同编号 */
    private String hetongbianhao;

 /** 合同名称 */
    private String hetongmingcheng;

 /** 合同类型 */
    private String hetongleixing;

 /** 合同状态 */
    private String hetongzhuangtai;

 /** 签署日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date qianshuriqi;

 /** 生效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date shengxiaoriqi;

 /** 终止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date zhongzhiriqi;

 /** 甲方联系人 */
    private String jiafanglianxiren;

 /** 甲方联系方式 */
    private String jiafanglianxifangshi;

 /** 甲方地址 */
    private String jiafangdizhi;

 /** 乙方联系人 */
    private String yifanglianxiren;

 /** 乙方联系方式 */
    private String yifanglianxifangshi;

 /** 乙方地址 */
    private String yifangdizhi;

 /** 合同金额 */
    private Long hetongjine;

 /** 违约责任 */
    private String weiyuezeren;

 /** 交付时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp jiaofushijian;

 /** 合同文件 */
    private String hetongwenjian;

 /** 用户id */
    private Long userid;

 /** 是否审核 */
    private String sfsh;

 /** 审核回复 */
    private String shhf;

    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setAddtime(Timestamp addtime)
    {
        this.addtime = addtime;
    }
    public Timestamp getAddtime()
    {
        return addtime;
    }
    public void setHetongbianhao(String hetongbianhao)
    {
        this.hetongbianhao = hetongbianhao;
    }
    public String getHetongbianhao()
    {
        return hetongbianhao;
    }
    public void setHetongmingcheng(String hetongmingcheng)
    {
        this.hetongmingcheng = hetongmingcheng;
    }
    public String getHetongmingcheng()
    {
        return hetongmingcheng;
    }
    public void setHetongleixing(String hetongleixing)
    {
        this.hetongleixing = hetongleixing;
    }
    public String getHetongleixing()
    {
        return hetongleixing;
    }
    public void setHetongzhuangtai(String hetongzhuangtai)
    {
        this.hetongzhuangtai = hetongzhuangtai;
    }
    public String getHetongzhuangtai()
    {
        return hetongzhuangtai;
    }
    public void setQianshuriqi(Date qianshuriqi)
    {
        this.qianshuriqi = qianshuriqi;
    }
    public Date getQianshuriqi()
    {
        return qianshuriqi;
    }
    public void setShengxiaoriqi(Date shengxiaoriqi)
    {
        this.shengxiaoriqi = shengxiaoriqi;
    }
    public Date getShengxiaoriqi()
    {
        return shengxiaoriqi;
    }
    public void setZhongzhiriqi(Date zhongzhiriqi)
    {
        this.zhongzhiriqi = zhongzhiriqi;
    }
    public Date getZhongzhiriqi()
    {
        return zhongzhiriqi;
    }
    public void setJiafanglianxiren(String jiafanglianxiren)
    {
        this.jiafanglianxiren = jiafanglianxiren;
    }
    public String getJiafanglianxiren()
    {
        return jiafanglianxiren;
    }
    public void setJiafanglianxifangshi(String jiafanglianxifangshi)
    {
        this.jiafanglianxifangshi = jiafanglianxifangshi;
    }
    public String getJiafanglianxifangshi()
    {
        return jiafanglianxifangshi;
    }
    public void setJiafangdizhi(String jiafangdizhi)
    {
        this.jiafangdizhi = jiafangdizhi;
    }
    public String getJiafangdizhi()
    {
        return jiafangdizhi;
    }
    public void setYifanglianxiren(String yifanglianxiren)
    {
        this.yifanglianxiren = yifanglianxiren;
    }
    public String getYifanglianxiren()
    {
        return yifanglianxiren;
    }
    public void setYifanglianxifangshi(String yifanglianxifangshi)
    {
        this.yifanglianxifangshi = yifanglianxifangshi;
    }
    public String getYifanglianxifangshi()
    {
        return yifanglianxifangshi;
    }
    public void setYifangdizhi(String yifangdizhi)
    {
        this.yifangdizhi = yifangdizhi;
    }
    public String getYifangdizhi()
    {
        return yifangdizhi;
    }
    public void setHetongjine(Long hetongjine)
    {
        this.hetongjine = hetongjine;
    }
    public Long getHetongjine()
    {
        return hetongjine;
    }
    public void setWeiyuezeren(String weiyuezeren)
    {
        this.weiyuezeren = weiyuezeren;
    }
    public String getWeiyuezeren()
    {
        return weiyuezeren;
    }
    public void setJiaofushijian(Timestamp jiaofushijian)
    {
        this.jiaofushijian = jiaofushijian;
    }
    public Timestamp getJiaofushijian()
    {
        return jiaofushijian;
    }
    public void setHetongwenjian(String hetongwenjian)
    {
        this.hetongwenjian = hetongwenjian;
    }
    public String getHetongwenjian()
    {
        return hetongwenjian;
    }
    public void setUserid(Long userid)
    {
        this.userid = userid;
    }
    public Long getUserid()
    {
        return userid;
    }
    public void setSfsh(String sfsh)
    {
        this.sfsh = sfsh;
    }
    public String getSfsh()
    {
        return sfsh;
    }
    public void setShhf(String shhf)
    {
        this.shhf = shhf;
    }
    public String getShhf()
    {
        return shhf;
    }

}
